/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package upc.jfactory.scp.bl.facade;

import java.util.List;
import upc.jfactory.scp.bl.controller.MenuController;
import upc.jfactory.scp.jpa.bean.Menu;

/**
 *
 * @author Alicia
 */
public class MenuFacade {

    private static MenuFacade _instance = null;
    public static MenuFacade getInstance() {
        if (_instance == null)
            _instance = new MenuFacade();
        return _instance;
    }

    public List<Menu> listarMenus(char id)
    {
         MenuController menuController = new MenuController();
         return menuController.listarmenus(id);
    }
}
